package com.ayf.payment.game.api.dto.getaway;

import com.swwx.charm.commons.lang.base.BasicTO;

import java.util.List;

/**
 *
 *
 * @author wwl
 * @date 2020/1/16 16:23
 */
public class ReplacementGetWayDTO extends BasicTO {
    private static final long serialVersionUID = 1L;
    private String serviceAgreement;

    private String serverIp;

    private int portNum;

    private String partitionName;

    private Integer  merchantId;

    private String partitionId;

    private String ratId;

    public ReplacementGetWayDTO() {
    }
    //整区补发
    public ReplacementGetWayDTO(String serviceAgreement, String serverIp, int portNum, String partitionName, Integer merchantId, String partitionId, List<GameRechargeGetWayDTO> list) {
        this.serviceAgreement = serviceAgreement;
        this.serverIp = serverIp;
        this.portNum = portNum;
        this.partitionName = partitionName;
        this.merchantId = merchantId;
        this.partitionId = partitionId;
        this.list = list;
    }
   //手动或订单
    public ReplacementGetWayDTO(String serviceAgreement, String serverIp, int portNum, String partitionName, Integer merchantId, String partitionId, GameRechargeGetWayDTO gameRechargeGetWay) {
        this.serviceAgreement = serviceAgreement;
        this.serverIp = serverIp;
        this.portNum = portNum;
        this.partitionName = partitionName;
        this.merchantId = merchantId;
        this.partitionId = partitionId;
        this.gameRechargeGetWay = gameRechargeGetWay;
    }

    private List<GameRechargeGetWayDTO> list;

    private GameRechargeGetWayDTO gameRechargeGetWay;

    public GameRechargeGetWayDTO getGameRechargeGetWay() {
        return gameRechargeGetWay;
    }

    public void setGameRechargeGetWay(GameRechargeGetWayDTO gameRechargeGetWay) {
        this.gameRechargeGetWay = gameRechargeGetWay;
    }

    public List<GameRechargeGetWayDTO> getList() {
        return list;
    }

    public void setList(List<GameRechargeGetWayDTO> list) {
        this.list = list;
    }

    public String getServiceAgreement() {
        return serviceAgreement;
    }

    public void setServiceAgreement(String serviceAgreement) {
        this.serviceAgreement = serviceAgreement;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public int getPortNum() {
        return portNum;
    }

    public void setPortNum(int portNum) {
        this.portNum = portNum;
    }

    public String getPartitionName() {
        return partitionName;
    }

    public void setPartitionName(String partitionName) {
        this.partitionName = partitionName;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public String getPartitionId() {
        return partitionId;
    }

    public void setPartitionId(String partitionId) {
        this.partitionId = partitionId;
    }

    public String getRatId() {
        return ratId;
    }

    public void setRatId(String ratId) {
        this.ratId = ratId;
    }
}
